package org.kl.bf.repository.basic;

import java.util.List;

import org.kl.bf.entity.basic.NotifyInfo;
import org.kl.bf.repository.BasicRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface NotifyInfoDao extends BasicRepository<NotifyInfo, String>, JpaSpecificationExecutor<NotifyInfo> {
	List<NotifyInfo> findByPid(String Pid);
	NotifyInfo findByJoinFileIdAndReceiverId(String joinFileId,String receiverId);
	List<NotifyInfo> findByAttributeAndReceiverId(int attributeUnread, String userId);
}
